package com.muyu.day3zy.domain;

import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @ClassName SpecificationValueInfo
 * @Description 描述
 * @Author ShiYu.Cui
 * @Date 2024/3/24 9:43
 */
public class SpecificationValueInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 规格值id */
    @Excel(name = "规格值id", cellType = Excel.ColumnType.NUMERIC)
    private Long id;

    /** 规格id */
    @Excel(name = "规格id")
    private Integer specificationId;

    /** 规格值 */
    @Excel(name = "规格值")
    private String specificationValue;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getSpecificationId() {
        return specificationId;
    }

    public void setSpecificationId(Integer specificationId) {
        this.specificationId = specificationId;
    }

    public String getSpecificationValue() {
        return specificationValue;
    }

    public void setSpecificationValue(String specificationValue) {
        this.specificationValue = specificationValue;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("specificationId", getSpecificationId())
                .append("specificationValue", getSpecificationValue())
                .toString();
    }
}
